package com.ltmonitor.web.vo;

import java.util.ArrayList;
/**
 * 车辆树输出结果，用于输出到页面，转换成json数据
 * @author admin
 *
 */
public class VehicleTreeResult {
	/**
	 * 上线数
	 */
	private int onlineNum;
	/**
	 * 离线数
	 */
	private int offlineNum;
	
	private int totalNum;
	/**
	 * 停车数量
	 */
	private int parkingNum;
	/**
	 * 上线率
	 */
	private String onlineRate;

	/**
	 * 在线用户数
	 */
	private int onlineUserNum;
	/**
	 * 如果出错，返回错误信息
	 */
	private String error;
	/**
	 * 车辆树状结构数据
	 */
	private ArrayList<VehicleTreeNode> treeData = new ArrayList<VehicleTreeNode>();
	
	public int getOnlineNum() {
		return onlineNum;
	}

	public void setOnlineNum(int onlineNum) {
		this.onlineNum = onlineNum;
	}

	public int getOfflineNum() {
		return offlineNum;
	}

	public void setOfflineNum(int offlineNum) {
		this.offlineNum = offlineNum;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public int getParkingNum() {
		return parkingNum;
	}

	public void setParkingNum(int parkingNum) {
		this.parkingNum = parkingNum;
	}

	public String getOnlineRate() {
		return onlineRate;
	}

	public void setOnlineRate(String onlineRate) {
		this.onlineRate = onlineRate;
	}

	public int getOnlineUserNum() {
		return onlineUserNum;
	}

	public void setOnlineUserNum(int onlineUserNum) {
		this.onlineUserNum = onlineUserNum;
	}

	public ArrayList<VehicleTreeNode> getTreeData() {
		return treeData;
	}

	public void setTreeData(ArrayList<VehicleTreeNode> treeData) {
		this.treeData = treeData;
	}


	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
}
